package cn.wolfcode.p2p.base.service;

import com.github.pagehelper.PageInfo;

import cn.wolfcode.p2p.base.domain.RealAuth;
import cn.wolfcode.p2p.base.query.RealAuthQueryObject;

/**
 * 实名认证服务
 * 
 * @author wolfcode
 *
 */
public interface IRealAuthService {

	/**
	 * 实名认证申请
	 * 
	 * @param to
	 */
	void apply(RealAuth to);

	PageInfo<RealAuth> query(RealAuthQueryObject qo);

	/**
	 * 实名认证审核
	 */
	void audit(Long id, int state, String remark);
	
	RealAuth get(Long id);

}
